ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Theme - One

by AmjadHD ALL

🎨 A port of Atom's One Dark and One Light UI and Syntax Themes ⚡.

Details

Installs

  • Total 118K
  • Win 65K
  • Mac 28K
  • Linux 25K
Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19
Windows 0 2 6 4 4 2 3 6 3 3 7 5 2 2 4 2 2 4 3 7 2 2 1 2 1 1 6 2 0 6 5 7 7 5 6 5 6 3 1 1 2 3 2 3 1 4
Mac 1 1 2 2 2 0 1 2 3 2 0 3 2 0 1 0 1 1 1 1 1 1 0 0 1 1 3 2 2 2 1 3 4 5 2 1 6 1 1 1 1 1 2 3 1 2
Linux 4 2 1 1 1 1 1 4 1 0 1 1 0 2 3 4 0 0 1 1 1 0 0 1 3 1 2 0 0 3 3 2 4 3 1 0 0 1 1 0 1 2 3 0 0 1

Readme

Source
raw.​githubusercontent.​com

One Theme

GitHub release (latest by date) Package Control

🎨 A port of Atom's One Dark and One Light UI and Syntax Themes for ST4 and ST3.2+ ⚡.

screenshot

The package includes two color schemes One Dark and One Light in addition to an adaptive Theme. Make sure to disable or remove any other color scheme with the same name, namely https://packagecontrol.io/packages/One%20Dark%20Color%20Scheme.

Installation

Package Control

Preferences

Preferences for the closest look to atom, add to your user settings (if you wish).

{
    "always_show_minimap_viewport": true,
    "animation_enabled": false,
    "caret_extra_bottom": 2,
    "caret_extra_top": 1,
    "caret_style": "blink",
    "enable_tab_scrolling": false,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "indent_guide_options": [
        "draw_normal",
        "solid"
    ],
    "line_padding_bottom": 2,
    "line_padding_top": 1,
    "margin": 0,

    // ST4-specific
    "highlight_gutter": false,
    "show_scroll_tabs_buttons": false,
    "show_tabs_dropdown_button": false,
    "show_new_tab_button": false,
}

ST4 introduced auto dark/light mode switching, run UI: Select Theme and UI: Select Color Scheme, choose auto and proceed. Or add these to your user settings:

{
    "theme": "auto",
    "dark_theme": "One.sublime-theme",
    "light_theme": "One.sublime-theme",

    "color_scheme": "auto",
    "dark_color_scheme": "One Dark.sublime-color-scheme",
    "light_color_scheme": "One Light.sublime-color-scheme",
}

Customization

For ST4, Run UI: Customize Theme from the command palette, for ST3, navigate to Preferences > Package Settings > Theme - One > Customize. See https://www.sublimetext.com/docs/themes.html#customization.

Here's a sample override:

{
    "variables": {
        // darker borders with medium-dark color schemes
        "border-color": "color(var(ui-bg) l(- 8%))",
    },

    "rules": [
        // Highlight the top border of the focused tab instead of the left one
        {
            "class": "tab_control",
            "layer2.inner_margin": [0, 2, 0, 0],
        },
        // ST4: Match the color of the tab connector to that of the tab
        {
            "class": "tab_connector",
            "tint_index": 0,
        },
        // Hide sidebar's vcs status icons
        {
            "class": "vcs_status_badge",
            "layer0.opacity": 0.0,
        },
        // Show panel's close button
        {
            "class": "panel_close_button",
            "content_margin": 8,
            "layer0.opacity": 1.0
        },
    ]
}

Credits

https://github.com/andresmichel/one-dark-theme was helpful for me to create this theme.